package com.yunxin.core.application.service;

import com.yunxin.core.application.command.page.AddPageCommand;
import com.yunxin.core.application.command.page.PageConfigInfoCommand;
import com.yunxin.core.application.command.page.UpdatePageCommand;

/**
 * @author zero°
 * @since 2023-05-25
 */
public interface PageApplicationAdminService {

    /**
     * 新增页面
     * @param command command
     * @return  boolean
     */
    boolean addPage(AddPageCommand command);

    /**
     * 编辑页面
     * @param command command
     * @return  boolean
     */
    boolean updatePage(UpdatePageCommand command);

    /**
     * 保存页面配置
     *
     * @param command command
     * @return String
     */
    boolean savePageConfig(PageConfigInfoCommand command);

    /**
     * 发布页面配置
     *
     * @param command command
     * @return boolean
     */
    boolean releasePageConfig(PageConfigInfoCommand command);


   
}
